import myAxios1 from "../utils/request";

// 添加地址
export function AddressAdd(data) {
    return myAxios1.post('/address/add',data)
}

// 地址列表
export function addressList(params) {
    return myAxios1.get('/address/list',{params})
}

// 更新地址列表
export function addressUpdate(data) {
    return myAxios1.post('/address/update',data)
}

// 删除地址
export function addressDelete(data) {
    return myAxios1.post('/address/delete',data)
}

// 查看默认地址
export function defaultAddress(data) {
    return myAxios1.post('/address/defaultAddress',data)
}